package org.reserved;

import org.reserved.util.LoggerUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author chenxuning
 */
@SpringBootApplication
public class LoadBalanceApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(LoadBalanceApplication.class, args);
        LoggerUtil loggerUtil = run.getBean(LoggerUtil.class);
        loggerUtil.info("Welcome to use nginx-nacos-loadbalance", null);
    }
}
